package com.kclm.pojo;

import java.util.Date;

/**
 * @Author : lvhx
 * @Date: 2025/11/3 10:17
 * @Description:
 */
public class SimpleTypeValue {
    /**
     *  public static boolean isSimpleValueType(Class<?> type) {
     *         return !isVoidType(type) && (
     *         isPrimitiveOrWrapper(type)
     *         || Enum.class.isAssignableFrom(type)
     *         || CharSequence.class.isAssignableFrom(type)
     *         || Number.class.isAssignableFrom(type)
     *         || Date.class.isAssignableFrom(type)
     *         || Temporal.class.isAssignableFrom(type)
     *         || ZoneId.class.isAssignableFrom(type) ||
     *         TimeZone.class.isAssignableFrom(type) ||
     *         File.class.isAssignableFrom(type) ||
     *         Path.class.isAssignableFrom(type) ||
     *         Charset.class.isAssignableFrom(type) ||
     *         Currency.class.isAssignableFrom(type) ||
     *         InetAddress.class.isAssignableFrom(type) ||
     *         URI.class == type ||
     *         URL.class == type ||
     *         UUID.class == type ||
     *         Locale.class == type ||
     *         Pattern.class == type ||
     *         Class.class == type);
     *     }
     */
    private  int age;
    private Integer age2;

    private boolean flag1;
    private Boolean flag2;
    private Season Season;

    private char c;
    private Character c2;

    private String name;
    private Date date;

    public void setDate(Date date) {
        this.date = date;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Integer getAge2() {
        return age2;
    }

    public void setAge2(Integer age2) {
        this.age2 = age2;
    }

    public boolean isFlag1() {
        return flag1;
    }

    @Override
    public String toString() {
        return "SimpleTypeValue{" +
                "age=" + age +
                ", age2=" + age2 +
                ", flag1=" + flag1 +
                ", flag2=" + flag2 +
                ", Season=" + Season +
                ", c=" + c +
                ", c2=" + c2 +
                ", name='" + name + '\'' +
                ", date=" + date +
                '}';
    }

    public void setFlag1(boolean flag1) {
        this.flag1 = flag1;
    }

    public Boolean getFlag2() {
        return flag2;
    }

    public void setFlag2(Boolean flag2) {
        this.flag2 = flag2;
    }

    public com.kclm.pojo.Season getSeason() {
        return Season;
    }

    public void setSeason(com.kclm.pojo.Season season) {
        Season = season;
    }

    public char getC() {
        return c;
    }

    public void setC(char c) {
        this.c = c;
    }

    public Character getC2() {
        return c2;
    }

    public void setC2(Character c2) {
        this.c2 = c2;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
